package com.star.mentor.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 导师邀请码保存
 *
 * @author yangzj
 */
@Getter
@Setter
@Accessors(chain = true)
public class MentorSaveDTO {

    /**
     * 邀请码
     */
    @NotBlank
    private String invitationCode;

    /**
     * 邀请码有效时间（分钟）
     */
    @NotNull
    private Integer invitationExpire;
}
